package com.blb.zycommunity.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.zycommunity.entity.ZyCommunityInteraction;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 社区互动表 服务类
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
public interface IZyCommunityInteractionService extends IService<ZyCommunityInteraction> {

    IPage<ZyCommunityInteraction> findCommunityInteractionPage(Long current, Long size, String ownerNickname, String ownerRealName, String ownerPhoneNumber, String communityId);

    List<ZyCommunityInteraction> findCommunityInteractions(String communityId);

    void removeInteractionById(String interactionId);

    void addLikeNum(String interactionId);

    void removeLikeNum(String interactionId);


}
